<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*解决闪屏*/
        [v-cloak] { display: none }
    </style>
</head>
<body>
    <div id="app" v-cloak>
        <!--<div v-pre>{{msg}}</div>-->
        <!--<div v-once>{{msg}}</div>-->
        <!--<div v-for="item in [1,2,3,4,5]">{{item}}</div>-->
        <!--v-cloak: 是vue解析过程中最后一个删除的指令-->

        {{msg}}
        {{msg}}
        {{msg}}
        {{msg}}
        {{msg}}
        {{msg}}
        {{msg}}
        {{msg}}
        {{msg}}
    </div>
</body>
<!--线上编译-->
<script src="./js/vue.js"></script>
<script>
    Vue.config.productionTip = false
    new Vue({
        el:"#app",
        data:{
            msg:"hello vue"
        },
        /*mounted(){
            setInterval(()=>{
               this.msg+=6;
            },1000)
        }*/
    })
</script>
</html>